<?php
Zend_Loader::loadClass('Zend_Validate_StringLength');

class Lead_EDO_Datatype_Validator_String implements Lead_EDO_Datatype_Validator_Interface
{
    
    static public function get(Lead_EDO_Datatype_Field_Interface $field)
    {
        $validatorChain = new Zend_Validate();
        $validatorChain->addValidator(new Zend_Validate_StringLength(0, $field->getLength()));
        return $validatorChain;
    }
    
    
}